package com.sjzsqjy.asdtiang.mysql;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * ShiQiaoResult entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "shi_qiao_result", catalog = "hospital")
public class ShiQiaoResult implements java.io.Serializable {

	// Fields

	private Long id;
	private Long version;
	private String inputType;
	private String value;
	private String date;
	private String typeId;
	private String charValue;
	private String sampleId;
	private String itemCode;
	private Integer sequence;

	// Constructors

	/** default constructor */
	public ShiQiaoResult() {
	}

	/** minimal constructor */
	public ShiQiaoResult(Long version, String value, String date,
			String typeId, String sampleId, String itemCode) {
		this.version = version;
		this.value = value;
		this.date = date;
		this.typeId = typeId;
		this.sampleId = sampleId;
		this.itemCode = itemCode;
	}

	/** full constructor */
	public ShiQiaoResult(Long version, String inputType, String value,
			String date, String typeId, String charValue, String sampleId,
			String itemCode, Integer sequence) {
		this.version = version;
		this.inputType = inputType;
		this.value = value;
		this.date = date;
		this.typeId = typeId;
		this.charValue = charValue;
		this.sampleId = sampleId;
		this.itemCode = itemCode;
		this.sequence = sequence;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "version", nullable = false)
	public Long getVersion() {
		return this.version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}

	@Column(name = "input_type", length = 11)
	public String getInputType() {
		return this.inputType;
	}

	public void setInputType(String inputType) {
		this.inputType = inputType;
	}

	@Column(name = "value", nullable = false)
	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Column(name = "date", nullable = false)
	public String getDate() {
		return this.date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	@Column(name = "type_id", nullable = false)
	public String getTypeId() {
		return this.typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	@Column(name = "char_value")
	public String getCharValue() {
		return this.charValue;
	}

	public void setCharValue(String charValue) {
		this.charValue = charValue;
	}

	@Column(name = "sample_id", nullable = false)
	public String getSampleId() {
		return this.sampleId;
	}

	public void setSampleId(String sampleId) {
		this.sampleId = sampleId;
	}

	@Column(name = "item_code", nullable = false)
	public String getItemCode() {
		return this.itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	@Column(name = "sequence")
	public Integer getSequence() {
		return this.sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

}